package com.yidu.drug.dao;

import java.util.List;
import java.util.Map;

import com.yidu.drug.model.ReturnsDetailModel;
import com.yidu.drug.model.SalesReturnModel;

public interface ReturnsDetailModelMapper {
    int deleteByPrimaryKey(String rdId);

    int insert(ReturnsDetailModel record);
    int save(ReturnsDetailModel returnsDetail);
    int insertSelective(ReturnsDetailModel record);

    ReturnsDetailModel selectByPrimaryKey(String rdId);

    int updateByPrimaryKeySelective(ReturnsDetailModel record);

    int updateByPrimaryKey(ReturnsDetailModel record);
    
    int findTotalRows(ReturnsDetailModel record);
    
    List<ReturnsDetailModel> findAllPage(Map<String,String> paramMap);
    
    List<ReturnsDetailModel> findLoginRows(ReturnsDetailModel t);

	List<ReturnsDetailModel> selectByReId(String reId);

	
}